package work.zhengyun.demo.service;

import work.zhengyun.demo.entity.User;
import work.zhengyun.demo.vo.UserVo;

import java.util.List;

public interface UserService {
    /**
     * 根据username查找用户信息
     * @param name
     * @return
     */
    public User findByName(String name);
    public User findById(Integer id);
    public List<UserVo> findUsers();

}
